//
//  SYRefreshFooter.m
//  SYPerfectDemo
//
//  Created by Lssyyy on 2018/4/27.
//  Copyright © 2018年 Lssyyy. All rights reserved.
//

#import "SYRefreshFooter.h"

@implementation SYRefreshFooter

+(instancetype)footerWithRefreshingTarget:(id)target refreshingAction:(SEL)action
{
    SYRefreshFooter *footer = [super footerWithRefreshingTarget:target refreshingAction:action];
    
    
    footer.stateLabel.font = [UIFont systemFontOfSize:12 weight:UIFontWeightLight];
    footer.stateLabel.textColor = [UIColor cyanColor];
    
    [footer setTitle:@"" forState:MJRefreshStateIdle];
    [footer setTitle:@"" forState:MJRefreshStatePulling];
    [footer setTitle:@"加载中..." forState:MJRefreshStateRefreshing];
    [footer setTitle:@"没有更多了" forState:MJRefreshStateNoMoreData];
    return footer;
}


@end
